﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<script runat="server">

</script>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Comentar
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form action="/RevisionTecnica/Guardar" method="post">
    <%List<string> datos = Model; %>
    <h2>Comentar</h2>
    <p> 
    <input type="hidden" name="nombreUsuario" value="<%=Html.Encode(datos.ElementAt(0)) %>" />
     <input type="hidden" name="id" value="<%=Html.Encode(datos.ElementAt(1)) %>" />

        Usuario:<%=Html.Encode(datos.ElementAt(0)) %></p>
    <p> 
        Titulo:&nbsp; 
        &nbsp;&nbsp;&nbsp;
        <input type="text" name="titulo" align="middle" style="margin-left: 13px" /></p>
        <p>Comentario: <input type="text" name="contenido" align="top" 
                style="width: 277px; height: 45px" /></p>
    <p>
        &nbsp;</p>
    <p>
        Ranking: &nbsp;&nbsp; <select name="ranking" 
            style="width: 68px; margin-left: 8px">
                 <%for (int i = 0; i < 6; i++)
                   { %>
                 <option value="<%=Html.Encode(i)%>"> <%=Html.Encode(i)%> </option>    
        <%} %>
        </select> </p>
    <p>
    <input type=submit class="buttonC" value="Guardar" name="botonGuardar" />
    </p>
    <p><%=Html.ActionLink("Volver a Busqueda", "")%></p>

    </form>

</asp:Content>
